<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="/WEB-INF/view/admin/nav.jsp"></jsp:include>
<head>
<title>同程金服后台管理系统</title>
<link href="common.css" rel="stylesheet">
<link href="layout.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="libs/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="libs/index.css">
<script src="require.js"></script>
<script src="require-config.js"></script>
<script src="edit.js"></script>
</head>

<div id="page-wrapper">
	<div class="row">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">编辑管理员</h3>
			</div>
			<form role="form" autocomplete="off" method="POST">
				<div class="box-body">
					<div class="form-group">
						<label>登录账户<span class="required-flag">*</span></label>
						<div class="input-group">
							<div class="input-group-addon">
								<i class="fa fa-user"></i>
							</div>
							<input name="memberAccount" type="text" class="form-control"
								id="memberAccount" value="${result.data.memberEdit.memberAccount}"
								placeholder="登录账户" readonly="readonly">
						</div>
						<label>报号状态<span class="required-flag">*</span></label>
						<div class="input-group">
							<div class="input-group-addon">
								<i class="fa fa-user"></i>
							</div>
							<input name="memberNumStatus" type="text" class="form-control"
								id="memberNumStatus" value="${result.data.memberEdit.memberNumStatus}"
								placeholder="报号状态">
						</div>
						<label>查看人<span class="required-flag">*</span></label>
						<div class="input-group">
							
							<c:forEach items="${result.data.memberEdit.members}" var="members">
								<input type="checkbox" id="sees" name="sees" value="${members.memberAccount}"
									<c:forEach items="${result.data.memberEdit.memberSees}" var="m">
						                 <c:if test="${m == members.memberAccount}">
						                     checked="checked"
						                 </c:if>
						            </c:forEach>
					         	/>${members.memberName}
							</c:forEach>
						</div>
					</div>
				</div>
				<div class="box-footer">
					<div class="form-group">
						<button type="submit" id="frm_submit" class="btn btn-primary">提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
<jsp:include page="/bottom.jsp"></jsp:include>